package com.vhall.component.controller.data;

import com.vhall.component.controller.data.facade.AggregationPageFacade;
import com.vhall.component.entity.data.vo.*;
import com.vhall.component.entity.page.vo.PageVO;
import com.vhall.component.entity.tag.vo.AdvertisingListRspVO;
import com.vhall.component.framework.common.annotation.VhallComponent;
import com.vhall.component.service.data.AggregationPageService;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shimingming
 * @since 2023/5/29 15:54
 */
@VhallComponent
public class AggregationPageController implements AggregationPageFacade {


    @Resource
    AggregationPageService aggregationPageService;


    @Override
    public List<AdvertisingListRspVO> getBannerList() {
        return aggregationPageService.getBannerList();
    }

    @Override
    public List<LiveScheduleDetailRspVO> liveSchedule(LiveScheduleReqVO reqVO) {
        return aggregationPageService.liveSchedule(reqVO);
    }

    @Override
    public List<ColumnListRspVO> getColumnList(ColumnListReqVO reqVO) {
        return aggregationPageService.getColumnList(reqVO);
    }


    @Override
    public PageVO<SelectedVideoRspVO> selectedVideoList(SelectedVideoReqVO reqVO) {
        return aggregationPageService.selectedVideoList(reqVO);
    }

    @Override
    public List<SelectedVideoRspVO> searchVideoList(SearchVideoReqVO reqVO) {
        return aggregationPageService.searchVideoList(reqVO);
    }
}
